<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% block title %}{% endblock %}</title>
</head>
<body>
<ul>
    <li><a href="">首页</a><li>
    <li><a href="">新闻</a></li>
    <li></li>
</ul>
    这是子内容{% block body %}{% endblock %}
    这是base底部
</body>
</html>